ODDesc
- Superclasses
ODObject
- Subclasses
ODOSLToken
,ODObjectSpec
,ODAddressDesc
, andODDescList
An object of the
ODDesc
class is a wrapper for a descriptor structure (typeAEDesc
), the basic structure used for building Apple event attributes and parameters.Description
An Apple event descriptor structure consists of a handle to data and a descriptor type that identifies the type of data to which the handle refers. An object of theODDesc
class stores the actual data. To use the Apple Event Manager functions on anODDesc
object, you must first extract the data from it and then create a descriptor structure from that data.The
ODDesc
class provides methods for placing and extracting the Apple event descriptor it contains. To convert from anODDesc
descriptor object to typeAEDesc
, you may copy the raw data and the descriptor type using the utility routines ODDescToAEDesc and AEDescToODDesc.For more information on Apple events and the
AEDesc
type, see the "Introduction to Apple Events" chapter of Inside Macintosh: Interapplication Communication. For general information on scripting support in OpenDoc, see the chapter on semantic events and scripting in theOpenDoc Programmer's Guide for the MacOS . Methods
This section presents summary descriptions of theODDesc
methods grouped according to purpose, followed by detailed descriptions in alphabetical order.Initializing
Accessing Descriptor Data
InitODDesc
- Initializes this descriptor object.
GetDescType
- Returns the descriptor type of this descriptor object.
SetDescType
- Sets the descriptor type of this descriptor object.
GetRawData
- Returns the raw data contained in this descriptor object.
SetRawData
- Assigns the specified raw data to this descriptor object; any previous data is deleted.
Methods
GetDescType
GetRawData
InitODDesc
SetDescType
SetRawData
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help